package com.csun.cmny.provider.model.dto.group;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-07-21 10:16
 * @Description: the class init role dto
 */
@Data
public class InitRoleDto {

    /**
     * 机构Id
     */
    @NotNull(message = "{group.id.null}")
    private Long groupId;

    /**
     * 角色菜单
     */
    @NotEmpty(message = "{role.id.list.null}")
    private List<Long> roleIdList;
}
